-
Notifications
You must be signed in to change notification settings - Fork 20.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
graphql: add support for tx types and tx access lists #22491
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for submitting the PR!
In addition to the inlined comments, we would need some testcases for this, alongside the existing graphql tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested this using
{
block (number:8314243) {
number
transactions {
type
accessList {
address
storageKeys
}
}
}
}
and it works on Rinkeby.
This adds support for EIP-2718 access list transactions in the GraphQL API. Co-authored-by: Amit Shah <[email protected]> Co-authored-by: Felix Lange <[email protected]>
fixes #22487 this PR adds the ability to query the type and AccessTuple from graphql endpoint